#include "msm26d3526PDM.h"
#include "drv_audio.h"
#include "nrf_drv_pdm.h"
#include "msm26d3526PDM.h"

static void m_audio_handler(void * p_event_data, uint16_t event_size)
{
    uint32_t    err_code;
    drv_audio_frame_t *p_frame;

    ASSERT(event_size == sizeof(p_frame));
    p_frame = *(drv_audio_frame_t **)(p_event_data);

}

int8_t msm26d3526PDM_init(void)
{
    uint32_t ret;

    ret = drv_audio_init(m_audio_handler);
    return 0;
}

int8_t msm26d3526PDM_start(void)
{
    start_pcm_data(0);
    //drv_audio_transmission_enable();
}